/**
 * Author:yuiop
 * Date:2022/6/22 11:05
 */
package com.devops.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.devops.admin.model.DOSProjectVersion;
import com.devops.admin.model.DOSProjectVersionPhaseRelation;

import java.util.List;

public interface DOSProjectVersionPhaseRelationService extends IService<DOSProjectVersionPhaseRelation> {
    //条件获取DOSProjectVersionPhaseRelation集合
    List<DOSProjectVersionPhaseRelation> getByCondition(DOSProjectVersionPhaseRelation condition);

    /**
     * 获取发版超时的projectVersion 超过1小时
     * @return
     */
    DOSProjectVersion getTimeoutProjectVersion(Integer projectVersionId);
}
